package main

import (
	"fmt"
	"time"
)

func main() {
	fmt.Println("now time 1", time.Now())
	myTicker := time.NewTicker(time.Second)

	go func() {
		for {
			nowTime := <-myTicker.C
			fmt.Println("now time 2", nowTime)
		}
	}()
	for {

	}
}
